package org.kpli.jak.net;

import java.io.BufferedReader;
import java.io.IOException;
import java.net.ServerSocket;

/**
 * 
 * @author dendy
 * 
 */
public class TestServer {

	final int PORT = 22222;

	ServerSocket serverSocket = null;

	BufferedReader bufferedReader = null;

	private TestServer() throws IOException {
		try {
			serverSocket = new ServerSocket(PORT);
		} catch (IOException e) {
			System.out.println(e);
		} finally {
			serverSocket.close();
			System.out.println("Koneksi Terputus");
		}
	}

}
